package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ActHistoryDao;
import io.renren.entity.ActHistoryEntity;
import io.renren.service.ActHistoryService;



@Service("actHistoryService")
public class ActHistoryServiceImpl implements ActHistoryService {
	@Autowired
	private ActHistoryDao actHistoryDao;
	
	@Override
	public ActHistoryEntity queryObject(Integer id){
		return actHistoryDao.queryObject(id);
	}
	
	@Override
	public List<ActHistoryEntity> queryList(Map<String, Object> map){
		return actHistoryDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return actHistoryDao.queryTotal(map);
	}
	
	@Override
	public void save(ActHistoryEntity actHistory){
		actHistoryDao.save(actHistory);
	}

	@Override
	public void update(ActHistoryEntity actHistory){
		actHistoryDao.update(actHistory);
	}
	
	@Override
	public void delete(Integer id){
		actHistoryDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		actHistoryDao.deleteBatch(ids);
	}
	
}
